restoration function

[计] 恢复功能